import java.io.Serializable;

/**
 * Object to store host/port pairs.
 * 
 * @author James Marqurdt
 */
public class HostPort implements Serializable {
	
	/**
     * 
     */
    private static final long serialVersionUID = -6431480174575036994L;
    /**
	 * The host being stored.
	 */
	public final String host;
	/**
	 * The port being stored.
	 */
	public final int port;
	
	/**
	 * Constructor for a HostPort
	 * @param the_host The host being stored
	 * @param the_port The port being stored
	 */
	public HostPort(String the_host, int the_port) {
		host = the_host;
		port = the_port;
	}

    @Override
    public String toString() {
        return "<" + host + ">:<" + port + ">";
    }
	
	
	

}
